﻿@charset "utf-8";

html, body {
    height: 100%;
}

.main {
    width: 3.6rem;
    min-height: 100%;
    margin: 0 auto 2.42rem;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 2;
}

.header__info {
    width: 3.6rem;
    height: .48rem;
    margin: 0 auto;
    position: relative;
}

.header__info__nav {
    position: absolute;
    background-image: url(../../img/topic/menu.svg);
    background-size: .24rem .24rem;
    background-repeat: no-repeat;
    width: .48rem;
    height: .48rem;
    top: .12rem;
    left: .12rem;
}

    .header__info__nav:hover {
        background-image: url(../../img/topic/menu.hover.svg);
    }

        .header__info__nav:hover .can,
        .can:hover {
            max-height: 2rem;
        }

.can {
    position: absolute;
    top: .36rem;
    left: 0;
    width: 3.6rem;
    margin-left: -.12rem;
    background-color: rgba(0, 0, 0, .8);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    max-height: 0;
    transition: max-height .5s, max-width .5s;
    overflow: hidden;
}



.header__info__nav__link {
    color: #ffffff;
    text-decoration: none;
    width: .3rem;
    line-height: .3rem;
    height: .3rem;
    border-radius: .15rem;
    text-align: center;
}

    .header__info__nav__link:hover {
        background-color: #ffffff;
        color: rgba(0, 0, 0, .8);
    }

.header__info__name {
    color: #ffffff;
    display: block;
    line-height: .48rem;
    text-align: center;
}

.main__topic {
    position: relative;
    padding: 1.44rem .14rem 0;
    z-index: 1;
}

.main__topic__number {
    position: absolute;
    top: .96rem;
    left: 0;
    padding-left: .14rem;
    color: rgba(26, 188, 156, .6);
    font-style: italic;
    margin: 0;
}

.main__topic__score {
    position: absolute;
    top: .96rem;
    left: 0;
    width: 3.32rem;
    padding-left: .14rem;
    text-align: right;
    color: rgba(26, 188, 156, .3);
    font-style: italic;
    margin: 0;
}

.main__topic__question {
    font-size: 14px;
}

.main__topic__form {
    display: flex;
    flex-direction: column;
}

.main__topic__form__answer {
    border-bottom: .01rem solid #cccccc;
    text-align: center;
    height: 1.5em;
    line-height: 1.5em;
}

input::-moz-placeholder,
input::-webkit-input-placeholder {
    color: #cccccc;
}

.main__topic__form__button {
    border-radius: .6rem;
    height: 2.2em;
    line-height: 2.2em;
    margin-top: .07rem;
    background-color: rgba(0, 0, 0, 0.02);
    color: #cccccc;
    transition: background-color .2s;
}

    .main__topic__form__button:hover {
        background-color: rgba(0, 0, 0, .8);
        color: #ffffff;
    }

.footer {
    background-color: #444547;
    color: #ccc;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .12rem;
}

.footer__copy {
    text-align: center;
    display: inline-block;
}

.footer__link {
    color: #ccc;
}